package com.zhiyou100.g.collection;


import java.util.List;

import com.zhiyou100.f.attr.User;
import com.opensymphony.xwork2.ActionSupport;

public class Demo08Action extends ActionSupport {
private List<User> list;
	

	public List<User> getList() {
		return list;
	}


	public void setList(List<User> list) {
		this.list = list;
	}


	public String save() throws Exception {
		
		for (User user: list) {
			System.out.println(user);
		}
		return SUCCESS;
	}
}